# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-lml
_pkgname=lml
pkgver=0.1.0
pkgrel=7
pkgdesc='Load me later. A lazy loading plugin management system.'
arch=('any')
url='https://github.com/chfw/lml/releases'
license=('BSD')
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha512sums=('2710deb99123aa2efe76c0502c5d883d81ebd48ba8dad57903ef542a47004c0d6e54311e0feb1192271fe3879f551bc094aacae46a1ec7d0063970be085ad923')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build
}

